.page-dashboards {
  .dashboard-nav {
    background: #fff;
    padding: 14px 0;

    display: flex;
    align-content: center;

    .dashboard-nav-item {
      display: block;
      float: left;
      margin-right: 25px;
      @extend .icon-middle-wrap;
      color: $text-main;
      text-decoration: none;

      i.fas {
        color: #979797;
        margin-right: 4px;
        transform: scale(1.2);
      }
      &.selected {
        color: $primary;
        i.fas {
          color: inherit;
        }
      }
    }

    @media (max-width: 768px) {
      .dashboard-nav-item {
        margin-right: 0px;
        margin-bottom: 5px;
        float: none;
      }
    }
  }

  .dashboard-section {
    margin-bottom: 40px;
  }

  .dashboard-watched-repositories {
    .doc-group {
      @extend .card-static;
      flex-basis: 30%;
      margin-right: 20px;
      overflow: hidden;

      .repository-title {
        margin-bottom: 10px;
        font-size: 12px;
        overflow: hidden;
        .repository-name {
          white-space: nowrap;
          @extend .text-overflow;
        }
      }
    }

    .wached-repository-groups {
      display: flex;
      flex-wrap: wrap;

      .repository-title {
        font-weight: 600;
      }

      .doc-item {
        margin-bottom: 15px;
      }
    }
  }

  .aside-wrap {
    margin-left: 50px;

    @media (max-width: 768px) {
      margin-left: 0;
    }

    .subhead {
      h2 {
        font-size: 15px;
      }
    }
  }

  .group-list {
    @extend .clearfix;

    .group-item {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      white-space: nowrap;
      overflow: hidden;
      font-size: 15px;

      .user-avatar {
        margin-right: 8px;
      }
      .user-name {
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .repo-list {
    .repo-item {
      margin-bottom: 10px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;

      .divider {
        color: $text-gray;
        margin: 0 2px;
        font-size: 0.8em;
      }

      .fas {
        color: $text-gray;
        font-size: 1.2em;
        margin-top: -2px;
      }
    }
  }

  .explore-groups {
    .group-item {
      width: 220px;
      margin-right: 30px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      overflow: hidden;

      .user-name {
        margin-left: 5px;
        @extend .text-overflow;
      }

      .avatar {
        margin-right: 5px;
      }
    }
  }

  .explore-repos {
    .items {
      align-content: space-around;
    }
    .list-item {
      width: calc(50% - 60px);
      margin-right: 30px;
    }
  }

  // card layout style
  .cards-container {
    .card {
      float: left;
      width: 100%;
      margin-bottom: 10px;
    }
    @include breakpoint(md) {
      margin-right: -30px;
      .card {
        margin-right: 30px;
        margin-bottom: 15px;
        width: calc(50% - 30px);
      }
    }

    .more-button {
      font-weight: normal;
      .btn {
        height: auto;
        line-height: auto;
        color: #333;
        .fas {
          color: rgb(68, 68, 68);
        }
        &:hover {
          color: $primary;
        }
      }
    }
  }

  // left menu
  .dashboard-menu {
    @include breakpoint(md) {
      display: block;
    }
    .menu-item {
      padding-left: 3px;
      line-height: 24px;
    }
  }
  .list-item {
    .btn {
      border: 0;
      background: transparent;
    }
  }
}
